public class Demo {
    public static void main(String[] args) {
        int num = 7;
        if (num%2 == 0){
            System.out.println("num是偶数");
        }
            System.out.println("num的值是："+num);
    }
}
